#include"STList.h"
void test1()
{
	SListNode* plist = NULL;
	SListPushBack(&plist, 1);
	SListPushBack(&plist, 4);
	SListPushBack(&plist, 5);
	SListPrint(plist);
	printf("\n");
	SListPushFront(&plist, 8);
	SListPushFront(&plist, 12);
	SListPushFront(&plist, 11);
	SListPrint(plist);
	printf("\n");
	SListPopBack(&plist);
	SListPrint(plist);
	printf("\n");
	SListPopFront(&plist);
	SListPrint(plist);
	printf("\n");
	SListNode* ret =SListFind(plist, 8);
	printf("%p", ret);
	printf("\n");
	SListInsertAfter(plist, 1);
	SListPrint(plist);
	printf("\n");
	SListEraseAfter(plist);
	SListPrint(plist);
}
void main()
{
	
	test1();
}